package zhupf.test.designPattern.composite;

import lombok.Data;

@Data
public abstract class OrganizationComponsite {

    private String name;

    protected void add(OrganizationComponsite organizationComponsite){
        throw new UnsupportedOperationException();
    }

    protected abstract void print();

}
